﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using SpyApp.Models.BaseCommon.Enum;
using SpyApp.Models.EntytiRepossitory;

namespace SpyApp.Models
{
    public class Device
    {
        [BsonId]
        public string Id { get; set; }
        //public string UserId { get; set; }

        public string Imei1 { get; set; }
        public string Imei2 { get; set; }
        public string Sn { get; set; }
        public string DeviceName { get; set; }
        public List<Location> LocationTracking { get; set; }
        public List<Message> Messages { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime ExpireDate { get; set; }
        public string OsVersion { get; set; }
        public string OsBrand { get; set; }
        public string ScreenSize { get; set; }
        public string AppVersion { get; set; }
        public string AppInstalledOn { get; set; }
        public string registrationId { get; set; }
        public DBEntity.ObjectStatus Status { get; set; }
        public DateTime LastModifined { get; set; }

       
    }
}